<div id="pages_member_list_list" class="scroll" style="height:100%;display:none;"><master :title="title">
  <listpage ref="listpage"></listpage>
</master></div>
<script type="text/javascript">
(function (G) {
  G.vue("pages_member_list_list",{
  "usingComponents": {
    "master": "/components/Master/Master",
    "listpage": "/components/List/Page/Page"
  },
  "enablePullDownRefresh": true,
  "navigationBarTitleText": "会员管理"
},G.modelList({
    modelName: 'member',
    nickName: '认证会员',
    listPage:function(listPage,query){
    	listPage.getUrl = {
        url:'/api/model/member',
        data:{
          join:'user',
          //phone:{$neq:null}
        }
      }
      var userInfo = G.Storage.get('userInfo');
    	if(userInfo.userName != 'admin' && query.userId) listPage.getUrl += '&userId=' + userInfo.id
    	listPage.searchKey = 'name,nickName';
    	listPage.canDelete = false;
    	listPage.actions = {edit:listPage.actions.edit}
    }
  }));
})(Y)
</script>